/**
 * 
 */
package javapop.framework.generic;

/**
 * @author hakim
 *
 */
public class GDefRegle{

	private String name;
	private String type;
	
	public GDefRegle(String first, String second) {
		name = first;
		type = second;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder("<");
		sb.append(name);
		sb.append(":");
		sb.append(type);
		sb.append(">");
		return sb.toString();
	}

}
